<template>
	<view class="item">
		<button type="primary" @click="goto('add')">
			添加用户
		</button>
		<button type="primary" @click="goto('list')">
			用户列表
		</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {
			goto(e){
				uni.navigateTo({
					url:"../"+e+"/"+e
				})
			}
		}
}
</script>
<style>
	
</style>
